//
//  DongHuaBaseViewController.m
//  基本框架
//
//  Created by runone02 on 2018/8/24.
//  Copyright © 2018年 liqiyun. All rights reserved.
//

#import "DongHuaBaseViewController.h"

@interface DongHuaBaseViewController ()

@end

@implementation DongHuaBaseViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.view.backgroundColor = [UIColor whiteColor];
    
    self.babyView = [[UIView alloc] initWithFrame:CGRectMake((SCREEN_WIDTH-100)/2, SCREEN_HEIGHT/2-100,100 ,100)];
    self.babyView.backgroundColor = [UIColor redColor];
    [self.view addSubview:self.babyView];
    
    UIButton *startBtn = [[UIButton alloc] initWithFrame:CGRectMake((SCREEN_WIDTH-60)/2, SCREEN_HEIGHT-80, 60, 30)];
    [startBtn setTitle:@"开始" forState:UIControlStateNormal];
    startBtn.backgroundColor = [UIColor grayColor];
    [startBtn addTarget:self action:@selector(btnClicked:) forControlEvents:UIControlEventTouchUpInside];
    [self.view addSubview:startBtn];
    
}

-(void)btnClicked:(UIButton *)btn{
    
}

@end
